package com.download.web.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @description: 第三方登录用户
 * @author: cmy
 * @create: 2019-03-01 21:35
 **/
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class SysThirdUser {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer userType;
    private String userName;
    private Integer userId;
    private String thirdUserId;

    public SysThirdUser(Integer userType, String userName, Integer userId, String thirdUserId) {
        this.userType = userType;
        this.userName = userName;
        this.userId = userId;
        this.thirdUserId = thirdUserId;
    }
}
